<tagLib name="html" />
<include file="../Public2/header" />
{// 加载头部公共文件 }

<div id="main" class="main" >
<SCRIPT LANGUAGE="JavaScript">
<!--
function resetPwd(){
var pass	 =	 $F('resetPwd');
ThinkAjax.send('__URL__/resetPwd/','ajax=1&id={$vo.id}&password='+encodeURIComponent(pass));
}
//-->
</SCRIPT>
<div class="content">
<div class="title">编辑用户 [ <A HREF="__URL__">返回列表</A> ]</div>
<TABLE cellpadding=3 cellspacing=3>
<TR>
	<TD class="tRight">重置密码：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" NAME="resetPwd" > <INPUT type="button" value="重置密码" onclick="resetPwd()" class="submit" style="height:25px"></TD>
</TR>
<TR>
	<TD class="tRight" colspan="2"><HR></TD>
</TR>
<FORM METHOD=POST id="form1" action="__URL__/update/">
<TR>
	<TD class="tRight" >用户名：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeftRequire"  check='^\S+$' warning="用户名不能为空,且不能含有空格" NAME="account" value="{$vo.account}"></TD>
</TR>
<TR>
	<TD class="tRight" >昵称：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft" NAME="nickname" value="{$vo.nickname}"></TD>
</TR>
<TR>
	<TD class="tRight">状态：</TD>
	<TD class="tLeft"><SELECT class="small bLeft"  NAME="status">
	<option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
	<option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
	</SELECT></TD>
</TR>
<TR>
	<TD class="tRight tTop">备  注：</TD>
	<TD class="tLeft"><TEXTAREA class="large bLeft"  NAME="remark" ROWS="5" COLS="57">{$vo.remark}</TEXTAREA></TD>
</TR>
<TR>
	<TD ></TD>
	<TD class="center"><INPUT TYPE="hidden" name="id" value="{$vo.id}" >
	<INPUT TYPE="submit" value="保 存" class="button">
	<INPUT TYPE="reset" class="button" value="清 空" >
	</TD>
</TR>
</TABLE>
</FORM>
</div>
</div>
<include file="../Public2/footer" />